# @File   :  options.py
# @Time   :  2020/05/15 16:19:19
# @Author : hyh
# here put the import lib

# excel文件路径
EXCEL_FILE = './example/example.xlsx'

# 生成sql文件路径
SQL_FILE = './example/example.sql'

# sql语句
SQL = 'insert into t_setting(id, code, level, parent_id, name, description, data_type, options, sort_index, create_time, create_user_id, is_delete) values ("{0}", "{1}", "{2}", "{3}", "{4}", "{5}", "{6}", "{7}", "{8}", "{9}", "{10}", 0);'

# 数据配置
# int: excel中对应列序号, 从0开始
# dict: 模拟数据, 具体配置参照Fake对象
# str: 直接写入
DATA_COL = [0, 0, 1, 2, 3, 4, 5, 6, 7, '2020-07-03', {"kind": "int", "min": 0, "max": 10}]

# 是否移除数据格式
REMOVE_FORMAT = True

# 是否重写数据
REWRITE = False
